package com.beikai.demo01.service;

import com.beikai.demo01.base.BaseService;
import com.beikai.demo01.base.PlugOfAlarm;

/**
 * @program: my-product
 * @author: xiaobei
 * @create: 2021-05-16 09:24
 * @description:
 **/
public class Dog extends BaseService implements PlugOfAlarm {

    @Override
    public void close() {
        System.out.println("执行dog的close接口");
    }

    @Override
    public void open() {
        System.out.println("执行的dog的open接口");
    }

    @Override
    public void alarm() {
        super.alarm();
    }

    @Override
    public void alarm2() {
        System.out.println("执行接口中的alarm2");
    }
}
